package com.wangjw.demo;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by wangjw on 18/6/14.
 */
public class Provider {

    public static void main(String[] args) throws Exception {
        System.setProperty("java.net.preferIPv4Stack", "true");

        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] {"spring/provider-demo.xml"});
        context.start();
        System.in.read(); // 按任意键退出
    }
}
